
from d2l import torch as d2l
img=d2l.Image.open("D:/IE/xj.jpg")
img1=d2l.Image.open("D:/IE/1.jpg")
img2=d2l.Image.open("D:/IE/2.jpg")
img3=d2l.Image.open("D:/IE/3.jpg")
img4=d2l.Image.open("D:/IE/4.jpg")
imgs=[img,img1,img2,img3,img4]

_,axes = d2l.plt.subplots(1, 5,figsize=(80,80))
axes = [axes, ]
for i, (ax, img) in enumerate(zip(axes,imgs)):
    ax.imshow(img)
    ax.axis('off')
d2l.plt.show()